﻿<Window x:Class="Power.ReportList"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ReportList" Height="353" Width="576">
    <Grid>
        <DockPanel>
            <Menu Height="23" DockPanel.Dock="Top">
                <MenuItem Header="显示记录" Click="MenuItem_Click_1"></MenuItem>
                <MenuItem Header="打印选中" Click="MenuItem_Click"></MenuItem>
            </Menu>

            <DataGrid Name="dgreport">

                <DataGrid.Columns>

                    <DataGridTextColumn Header="设备号" Width="60" Binding="{Binding Device}" ></DataGridTextColumn>
                    <DataGridTextColumn Header="主题" Width="90" Binding="{Binding Theme}" ></DataGridTextColumn>
                    <DataGridTextColumn Header="费用" Width="60" Binding="{Binding Fee}" ></DataGridTextColumn>
                    <DataGridTextColumn Header="详细信息" Width="500" Binding="{Binding BoText}" ></DataGridTextColumn>

                </DataGrid.Columns>

            </DataGrid>
        </DockPanel>
    </Grid>
</Window>